//
//  ballView.h
//  JiCaiBao
//
//  Created by rgx on 16/11/11.
//  Copyright © 2016年 rgx. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum ballViewType_
{
    ballViewType_Red,
    ballViewType_blue,
    ballViewType_blue1,
    
}ballViewType;


@interface ballView : UIButton

@property(nonatomic, assign) BOOL isClicked;

-(void)flashSelf;

-(id)initWithFrame:(CGRect)frame ballType:(ballViewType)type delegate:(id)gate tag:(NSString *)tag need:(bool)value;


@end

@protocol ballViewDelegate <NSObject>

-(void)ballViewClick:(ballView*)sender;

@end
